import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
import user from '@/store/user'; //导入需要的副仓库
import second from '@/store/second'
export default new Vuex.Store({
       //大仓库中导入要加modules
       modules:{
        user,
        second
       }
        

})